import Mock from 'mockjs';

let item = [{
		key: "/bm/all",
		method: "get",
		param: {
			
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA|1-4': [{
					"storeid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"sname": "@cword(6,9)",
					"sdz": "@csentence",
					"jd": "31.269689",
					"wd": "121.305338",
					"fm": "@image('200x200')",
					"sheng": "code",
					"shengmc": "黑龙江省",
					"shi": "code",
					"shimc": "哈尔滨市",
					"qu": "code",
					"qumc": "道里区",

				}]
			});
		}
	},
	{
		key: "/fzjl/page",
		method: "get",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages': 6,
					'total': 55,
					"records|12": [{
						"fxjlid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"amount": "@integer(100, 500)",
						"fxrid": "3",
						"tqper|1": ["20%","30%"],
						"level|1": [1,2,3],
						"fxje": "@integer(100, 400)",
						"ct": "2025-03-26",
					}]
				}
			});
		}
	},
{	
		key: "/fzjl/info",
		method: "get",
		prarm: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					"fzjl":{
						"fxjlid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"clientid": "@integer(1, 50)",
						"fxclientid": "@integer(1, 50)",
						"bmid": "@integer(1, 50)",
						"hyjlid": "@integer(1, 50)",
						"amount": "@integer(100, 500)",
						"fxrid": "@integer(1, 50)",
						"tqper": 0.2,
						"level": "@integer(1, 3)",
						"fxje": "@integer(50, 100)",
						"jlid": "@integer(1, 50)",
						"jlname": "@cname()",
						"ct": "@date()",
						"stu|1":["C","T","J"],
					},
					"aclientbm":{
						"bmid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"clientid": "@integer(1, 50)",
						"kcid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"kcmc":"@cword(4,10)",
						"price":"@integer(100, 1000)",
						"ct":"@date()",
					},
					"client":{
						"clientid": "@integer(1, 50)",
						"nc":"@cname()",
						"fromid":"@cname()",
					},
					"ahyjl":[
						{
						"clientid": "@integer(1, 50)",
						"hylxid":"@cword(2,8)",
						"hlname":"十次卡",
						"cd":"@date()",
						"sd":"@date()",
						"ed":"@date()",
						"zq":30,

					},
					{
						"clientid": "@integer(1, 50)",
						"hylxid":"@cword(2,8)",
						"hlname":"二十次卡",
						"cd":"@date()",
						"sd":"@date()",
						"ed":"@date()",
						"zq":60,
					
					},
					],
					}
			})
		}
	},
	
	{
		key: "/bm/info",
		method: "post",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/bm/info",
		method: "put",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/dz/info",
		method: "delete",
		param: {
			empId: '',
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},

]
export default item;